package com.ddc.study.entity;

import com.google.gson.annotations.SerializedName;

import androidx.annotation.NonNull;

/**
 * Created on 2018/5/14.
 *
 * @author lshun
 * @version 1.0
 */
public class Collection {
    @SerializedName("author")
    private String mAuthor;
    @SerializedName("chapterId")
    private int mChapterId;
    @SerializedName("chapterName")
    private String mChapterName;
    @SerializedName("courseId")
    private int mCourseId;
    @SerializedName("desc")
    private String mDesc;
    @SerializedName("envelopePic")
    private String mEnvelopePic;
    @SerializedName("id")
    private int mId;
    @SerializedName("link")
    private String mLink;
    @SerializedName("niceDate")
    private String mNiceDate;
    @SerializedName("origin")
    private String mOrigin;
    @SerializedName("originId")
    private int mOriginId;
    @SerializedName("publishTime")
    private long mPublishTime;
    @SerializedName("title")
    private String mTitle;
    @SerializedName("userId")
    private int mUserId;
    @SerializedName("visible")
    private int mVisible;
    @SerializedName("zan")
    private int mZan;

    public String getAuthor() {
        return mAuthor;
    }

    public void setAuthor(String author) {
        mAuthor = author;
    }

    public int getChapterId() {
        return mChapterId;
    }

    public void setChapterId(int chapterId) {
        mChapterId = chapterId;
    }

    public String getChapterName() {
        return mChapterName;
    }

    public void setChapterName(String chapterName) {
        mChapterName = chapterName;
    }

    public int getCourseId() {
        return mCourseId;
    }

    public void setCourseId(int courseId) {
        mCourseId = courseId;
    }

    public String getDesc() {
        return mDesc;
    }

    public void setDesc(String desc) {
        mDesc = desc;
    }

    public String getEnvelopePic() {
        return mEnvelopePic;
    }

    public void setEnvelopePic(String envelopePic) {
        mEnvelopePic = envelopePic;
    }

    public int getId() {
        return mId;
    }

    public void setId(int id) {
        mId = id;
    }

    public String getLink() {
        return mLink;
    }

    public void setLink(String link) {
        mLink = link;
    }

    public String getNiceDate() {
        return mNiceDate;
    }

    public void setNiceDate(String niceDate) {
        mNiceDate = niceDate;
    }

    public String getOrigin() {
        return mOrigin;
    }

    public void setOrigin(String origin) {
        mOrigin = origin;
    }

    public int getOriginId() {
        return mOriginId;
    }

    public void setOriginId(int originId) {
        mOriginId = originId;
    }

    public long getPublishTime() {
        return mPublishTime;
    }

    public void setPublishTime(long publishTime) {
        mPublishTime = publishTime;
    }

    public String getTitle() {
        return mTitle;
    }

    public void setTitle(String title) {
        mTitle = title;
    }

    public int getUserId() {
        return mUserId;
    }

    public void setUserId(int userId) {
        mUserId = userId;
    }

    public int getVisible() {
        return mVisible;
    }

    public void setVisible(int visible) {
        mVisible = visible;
    }

    public int getZan() {
        return mZan;
    }

    public void setZan(int zan) {
        mZan = zan;
    }

    @NonNull
    @Override
    public String toString() {
        return "Collection{" +
                "mAuthor='" + mAuthor + '\'' +
                ", mChapterId=" + mChapterId +
                ", mChapterName='" + mChapterName + '\'' +
                ", mCourseId=" + mCourseId +
                ", mDesc='" + mDesc + '\'' +
                ", mEnvelopePic='" + mEnvelopePic + '\'' +
                ", mId=" + mId +
                ", mLink='" + mLink + '\'' +
                ", mNiceDate='" + mNiceDate + '\'' +
                ", mOrigin='" + mOrigin + '\'' +
                ", mOriginId=" + mOriginId +
                ", mPublishTime=" + mPublishTime +
                ", mTitle='" + mTitle + '\'' +
                ", mUserId=" + mUserId +
                ", mVisible=" + mVisible +
                ", mZan=" + mZan +
                '}';
    }
}
